package baiqitun.stupro.common.exception.enums.support;

import baiqitun.stupro.common.exception.enums.ExceptionEnumParent;

/**
 * 数据不可用异常
 * @author kedaji
 */
public enum DisabledExceptionEnum implements ExceptionEnumParent {
    /**
     *
     */
    PERMISSION_DISABLED("", "许可不可用"),
    USER_DISABLED("","用户不可用"),
    ;

    private String code;
    private String msg;

    DisabledExceptionEnum(String code, String msg){
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
